<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <!--<link rel="stylesheet" href="test.css">-->
    <script src="https://unpkg.com/vue@next"></script>
    <title>testFile</title>
</head>
<body>
    <div id="app">
    <p>111</p>
    {{message}}
    </div>

    <script>
        const hello = {
            // 指定数据源，既MVVM中的Model
            data: function(){
                return{
                    message: 'Hello Vue!'
                }
            }
        }
        const app = Vue.createApp(hello)
        app.mount('#app') // 指定当前vue实例要控制页面的哪个区域
    </script>

</body>
</html>